﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="eppReplicarHistAcoesJudiciais.aspx.cs" Inherits="Protegidos_Empresas__popup_eppReplicarHistAcoesJudiciais" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %>
<%@ Register TagPrefix="uc1" TagName="HeadTag"  Src="~/_includes/HeadTag.ascx" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <!-- Includes -->
    <uc1:HeadTag ID="HeadTag1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <telerik:RadProgressManager ID="RadProgressManager1" runat="server" />
        <script type="text/javascript">
            function CloseAndRebind(args)
            {
                GetRadWindow().Close();
                GetRadWindow().BrowserWindow.refreshGrid(args);
            }
    		
            function GetRadWindow()
            {
                var oWindow = null;
                if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
                else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;//IE (and Moz as well)
    				
                return oWindow;
            }

            function CancelEdit()
            {
                GetRadWindow().Close();		
            }
        </script>
        
        <table width="99%" align="right">
            <tr>
                <td>
                    <p></p>                    
                    <p></p>
                    <p></p>
                    <table width="100%" align="right" class="textoCZ_12">
                        <tr id="trPergunta" runat="server">
                            <td style="font-weight:bold; color:Red; font-size:large"><span class="textoCZ_12">Atenção: Deseja replicar este histórico para todos os reclamantes deste processo?</span></td>
                        </tr>
                        <tr id="trMensagem" runat="server">
                            <td><span class="textoCZ_12">Réplica de histórico efetuada com sucesso!</span></td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table width="100%" align="right" class="textoCZ_12">
                        <tr>
                            <td align="right">
                                <asp:Label ID="lblResultado" runat="server" Text=""></asp:Label> &nbsp;&nbsp;
                                <asp:Button ID="btnSim" runat="server" Text="Sim" onclick="btnSim_Click" /> &nbsp;&nbsp;
                                <asp:Button ID="btnNao" runat="server" Text="Não" onclick="btnNao_Click" /> 
                                <asp:Button ID="btnFechar" runat="server" Text="Fechar" 
                                    onclick="btnFechar_Click" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        
    </form>
</body>
</html>
